package com.joker.orange.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 扣单记录视图对象 t_user_deduction_record
 *
 * @author Joker
 * @date 2024-07-27
 */
@Data
@ExcelIgnoreUnannotated
public class UserDeductionRecordVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 用户名称
     */
    @ExcelProperty(value = "用户名称")
    private String userName;

    /**
     * 代理名称
     */
    @ExcelProperty(value = "代理名称")
    private String agentName;

    /**
     * 充值金额
     */
    @ExcelProperty(value = "充值金额")
    private BigDecimal chargeMoney;

    /**
     * 充值类型（0-会员充值、1-网格会员充值、2-钻石充值）
     */
    @ExcelProperty(value = "充值类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-会员充值、1-网格会员充值、2-钻石充值")
    private String chargeType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
